<template>
  <div>
    父组件中的Data值={{ modelData }},propData={{ propData }}
    <hr />
    v-model方式
    <Child v-model="modelData"></Child>
    $emit方式
    <Child :childData.sync="propData"></Child>
  </div>
</template>
<script>
import Child from './child.vue'
export default {
  components: { Child },
  mixins: [],
  props: {},
  data() {
    return {
      modelData: 'parent-modelData',
      propData: 'parent-propData',
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
}
</script>
<style lang="scss" scoped></style>
